package com.example.zjx8969.myapplication

import android.util.Log
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.lifecycleScope

class Dispatcher {
    fun dispatch(activity: FragmentActivity) {
        activity.lifecycleScope.launchWhenResumed {
            Log.d("dispatch","dispatch, resumed")
        }
    }
}